package com.ekuaitu.kuaitu.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Michael Pi on 2016/10/16.
 */
public class SettlementBikeDetailBean implements Serializable {

    /**
     * status : 200
     * message : success
     * debug : null
     * attachment : {"model":{"orderId":2107,"realPrice":400,"minute":114,"price":100,"balance":4211,"isWechat":1,"isAlipay":0,"coupons":[{"couponId":104,"denomination":30,"title":"???","content":"????30?","startDate":1479551644000,"endDate":1487327644000,"type":0,"couponStyle":2,"status":10}],"onLatitude":39.959085,"onLongitude":116.323156,"downLatitude":39.959085,"downLongitude":116.323156,"orderTime":1481181048000,"startBillingTime":1481181049000,"endBillingTime":1481187877000,"orderNum":"27120161208151048","licenseTag":"101101","userType":2,"enterpriseBalance":11111}}
     */

    @SerializedName("status")
    private int status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private Object debug;
    /**
     * model : {"orderId":2107,"realPrice":400,"minute":114,"price":100,"balance":4211,"isWechat":1,"isAlipay":0,"coupons":[{"couponId":104,"denomination":30,"title":"???","content":"????30?","startDate":1479551644000,"endDate":1487327644000,"type":0,"couponStyle":2,"status":10}],"onLatitude":39.959085,"onLongitude":116.323156,"downLatitude":39.959085,"downLongitude":116.323156,"orderTime":1481181048000,"startBillingTime":1481181049000,"endBillingTime":1481187877000,"orderNum":"27120161208151048","licenseTag":"101101","userType":2,"enterpriseBalance":11111}
     */

    @SerializedName("attachment")
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean implements Serializable {
        /**
         * orderId : 2107
         * realPrice : 400
         * minute : 114
         * price : 100
         * balance : 4211
         * isWechat : 1
         * isAlipay : 0
         * coupons : [{"couponId":104,"denomination":30,"title":"???","content":"????30?","startDate":1479551644000,"endDate":1487327644000,"type":0,"couponStyle":2,"status":10}]
         * onLatitude : 39.959085
         * onLongitude : 116.323156
         * downLatitude : 39.959085
         * downLongitude : 116.323156
         * orderTime : 1481181048000
         * startBillingTime : 1481181049000
         * endBillingTime : 1481187877000
         * orderNum : 27120161208151048
         * licenseTag : 101101
         * userType : 2
         * enterpriseBalance : 11111
         */

        @SerializedName("model")
        private ModelBean model;

        public ModelBean getModel() {
            return model;
        }

        public void setModel(ModelBean model) {
            this.model = model;
        }

        public static class ModelBean implements Serializable {
            @SerializedName("orderId")
            private String orderId;
            @SerializedName("realPrice")
            private double realPrice;
            @SerializedName("minute")
            private int minute;
            @SerializedName("price")
            private double price;
            @SerializedName("balance")
            private double balance;
            @SerializedName("isWechat")
            private int isWechat;
            @SerializedName("isAlipay")
            private int isAlipay;
            @SerializedName("onLatitude")
            private double onLatitude;
            @SerializedName("onLongitude")
            private double onLongitude;
            @SerializedName("downLatitude")
            private double downLatitude;
            @SerializedName("downLongitude")
            private double downLongitude;
            @SerializedName("orderTime")
            private long orderTime;
            @SerializedName("startBillingTime")
            private long startBillingTime;
            @SerializedName("endBillingTime")
            private long endBillingTime;
            @SerializedName("orderNum")
            private String orderNum;
            @SerializedName("licenseTag")
            private String licenseTag;
            @SerializedName("userType")
            private int userType;
            @SerializedName("enterpriseBalance")
            private double enterpriseBalance;
            @SerializedName("priceMsg")
            private String priceMsg;
            @SerializedName("violationmoney")
            private String violationmoney;

            public String getPriceMsg() {
                return priceMsg;
            }

            public void setPriceMsg(String priceMsg) {
                this.priceMsg = priceMsg;
            }

            /**
             * couponId : 104
             * denomination : 30
             * title : ???
             * content : ????30?
             * startDate : 1479551644000
             * endDate : 1487327644000
             * type : 0
             * couponStyle : 2
             * status : 10
             */


            @SerializedName("coupons")
            private List<CouponsBean> coupons;

            @SerializedName("couponPay")
            private int couponPay;

            @SerializedName("couponForbidReason")
            private String couponForbidReason;

            @SerializedName("specialModelList")
            private List<SpecialModelListBean> specialModelList;

            @SerializedName("orderPrice")
            private double orderPrice;

            public double getOrderPrice() {
                return orderPrice;
            }

            public void setOrderPrice(double orderPrice) {
                this.orderPrice = orderPrice;
            }

            public String getViolationmoney() {
                return violationmoney;
            }

            public void setViolationmoney(String violationmoney) {
                this.violationmoney = violationmoney;
            }

            public List<SpecialModelListBean> getSpecialModelList() {
                return specialModelList;
            }

            public void setSpecialModelList(List<SpecialModelListBean> specialModelList) {
                this.specialModelList = specialModelList;
            }

            public static class SpecialModelListBean implements Serializable {
                private String specialName;
                private double subMoney;

                public String getSpecialName() {
                    return specialName;
                }

                public void setSpecialName(String specialName) {
                    this.specialName = specialName;
                }

                public double getSubMoney() {
                    return subMoney;
                }

                public void setSubMoney(double subMoney) {
                    this.subMoney = subMoney;
                }
            }

            public String getCouponForbidReason() {
                return couponForbidReason;
            }

            public void setCouponForbidReason(String couponForbidReason) {
                this.couponForbidReason = couponForbidReason;
            }

            public int getCouponPay() {
                return couponPay;
            }

            public void setCouponPay(int couponPay) {
                this.couponPay = couponPay;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public double getRealPrice() {
                return realPrice;
            }

            public void setRealPrice(double realPrice) {
                this.realPrice = realPrice;
            }

            public int getMinute() {
                return minute;
            }

            public void setMinute(int minute) {
                this.minute = minute;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getBalance() {
                return balance;
            }

            public void setBalance(double balance) {
                this.balance = balance;
            }

            public int getIsWechat() {
                return isWechat;
            }

            public void setIsWechat(int isWechat) {
                this.isWechat = isWechat;
            }

            public int getIsAlipay() {
                return isAlipay;
            }

            public void setIsAlipay(int isAlipay) {
                this.isAlipay = isAlipay;
            }

            public double getOnLatitude() {
                return onLatitude;
            }

            public void setOnLatitude(double onLatitude) {
                this.onLatitude = onLatitude;
            }

            public double getOnLongitude() {
                return onLongitude;
            }

            public void setOnLongitude(double onLongitude) {
                this.onLongitude = onLongitude;
            }

            public double getDownLatitude() {
                return downLatitude;
            }

            public void setDownLatitude(double downLatitude) {
                this.downLatitude = downLatitude;
            }

            public double getDownLongitude() {
                return downLongitude;
            }

            public void setDownLongitude(double downLongitude) {
                this.downLongitude = downLongitude;
            }

            public long getOrderTime() {
                return orderTime;
            }

            public void setOrderTime(long orderTime) {
                this.orderTime = orderTime;
            }

            public long getStartBillingTime() {
                return startBillingTime;
            }

            public void setStartBillingTime(long startBillingTime) {
                this.startBillingTime = startBillingTime;
            }

            public long getEndBillingTime() {
                return endBillingTime;
            }

            public void setEndBillingTime(long endBillingTime) {
                this.endBillingTime = endBillingTime;
            }

            public String getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(String orderNum) {
                this.orderNum = orderNum;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public int getUserType() {
                return userType;
            }

            public void setUserType(int userType) {
                this.userType = userType;
            }

            public double getEnterpriseBalance() {
                return enterpriseBalance;
            }

            public void setEnterpriseBalance(double enterpriseBalance) {
                this.enterpriseBalance = enterpriseBalance;
            }

            public List<CouponsBean> getCoupons() {
                return coupons;
            }

            public void setCoupons(List<CouponsBean> coupons) {
                this.coupons = coupons;
            }

            public static class CouponsBean implements Serializable {
                @SerializedName("couponId")
                private String couponId;
                @SerializedName("denomination")
                private double denomination;
                @SerializedName("title")
                private String title;
                @SerializedName("content")
                private String content;
                @SerializedName("startDate")
                private long startDate;
                @SerializedName("endDate")
                private long endDate;
                @SerializedName("type")
                private int type;
                @SerializedName("couponStyle")
                private int couponStyle;
                @SerializedName("status")
                private int status;

                public String getCouponId() {
                    return couponId;
                }

                public void setCouponId(String couponId) {
                    this.couponId = couponId;
                }

                public double getDenomination() {
                    return denomination;
                }

                public void setDenomination(double denomination) {
                    this.denomination = denomination;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public long getStartDate() {
                    return startDate;
                }

                public void setStartDate(long startDate) {
                    this.startDate = startDate;
                }

                public long getEndDate() {
                    return endDate;
                }

                public void setEndDate(long endDate) {
                    this.endDate = endDate;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public int getCouponStyle() {
                    return couponStyle;
                }

                public void setCouponStyle(int couponStyle) {
                    this.couponStyle = couponStyle;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }
            }
        }
    }
}
